import 'package:flutter/material.dart';

class IconContainer extends StatelessWidget {
  double height = 100.0;
  double width = 100.0;
  double size = 32.0;
  IconData icon = Icons.home;
  Color iconColor = Colors.orange;
  Color color = Colors.green;
  IconContainer(
      {this.icon: Icons.home,
      this.height: 100.0,
      this.width: 100.0,
      this.color = Colors.green});
  @override
  Widget build(BuildContext context) {
    return Container(
      height: this.height,
      width: this.width,
      // color: this.color,
      color: this.color,
      child: Center(
        child: Icon(
          this.icon,
          size: this.size,
          color: this.iconColor,
        ),
      ),
    );
  }
}
